package clothinglibrarymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceClothNew 服装表-新
type DanceClothNew struct {
	Id             int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	Icon           string         `json:"icon" gorm:"column:icon;type:varchar(256);not null;default:'';comment:缩略图地址"` //
	ClothName      string         `json:"clothName" gorm:"column:cloth_name;type:varchar(256);not null;default:'';comment: 服装名字"`
	OneTypeName    string         `json:"oneTypeName" gorm:"column:one_type_name;type:varchar(256);not null;default:'';comment: 一级分类名字"`
	Characteristic string         `json:"characteristic" gorm:"column:characteristic;type:varchar(256);not null;default:'';comment: 特色"`
	UseType        string         `json:"useType" gorm:"column:use_type;type:varchar(256);not null;default:'';comment: 类型"`
	No             string         `json:"no" gorm:"column:no;type:varchar(256);not null;default:'';comment:元素编号"` // 元素编号
	Sex            int            `json:"sex" gorm:"column:sex;type:tinyint;default:0;not null;comment:0男 1女"`      //
	Remark         string         `json:"remark" gorm:"column:remark;type:text;not null;default:'';comment: 备注"`
	CreateId       int64          `json:"create_id" gorm:"column:create_id;type:bigint;default:0;not null;comment:创建人id"` // 创建人id
	UpdateId       int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"` // 更新人id
	CreatedAt      time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt      time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt      gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
